-
Home
-
CommonsBooking
-
2.10.3 (latest)
-
Code
-
Classes
- Booking
Total Complexity |
130 |
Dependencies |
21 |
Dependents |
18 |
Total lines |
996 |
Lines of code |
512 |
Logical lines of code |
270 |
Comment lines |
354 |
Methods |
48 |
Properties |
1 |
Methods 48
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isValid() |
A |
44 |
10 |
44 |
getBookingChain() |
A |
53 |
11 |
26 |
assignBookableTimeframeFields() |
A |
45 |
7 |
45 |
getDuration() |
S |
53 |
7 |
23 |
bookingNotice() |
S |
55 |
6 |
19 |
formattedBookingCode() |
S |
60 |
6 |
13 |
pickupDatetime() |
S |
53 |
5 |
23 |
hasTotalBreakdown() |
S |
53 |
5 |
23 |
returnDatetime() |
S |
54 |
5 |
21 |
adjacent() |
S |
53 |
4 |
24 |
canCancel() |
S |
62 |
4 |
12 |
getStatus() |
S |
63 |
4 |
11 |
filterTermsApply() |
S |
59 |
3 |
15 |
setOverbookedDays() |
S |
59 |
3 |
14 |
getMoveableLocation() |
S |
62 |
3 |
11 |
termsApply() |
S |
61 |
3 |
11 |
getBookableTimeFrame() |
S |
59 |
2 |
14 |
cancel() |
S |
61 |
2 |
13 |
getItem() |
S |
71 |
2 |
6 |
getTotalDuration() |
S |
69 |
2 |
7 |
getCancellationDateDateTime() |
S |
69 |
2 |
7 |
isPast() |
S |
69 |
2 |
7 |
getLocation() |
S |
71 |
2 |
6 |
bookingLink() |
S |
69 |
2 |
6 |
isOrphaned() |
S |
70 |
2 |
7 |
formattedBookingDate() |
S |
65 |
2 |
9 |
getOverbookedDays() |
S |
69 |
2 |
7 |
sanitizeTimeField() |
S |
65 |
2 |
9 |
showBookingCodes() |
S |
79 |
1 |
3 |
filterForUser() |
S |
70 |
1 |
6 |
getFormattedStartDate() |
S |
75 |
1 |
4 |
isUnconfirmed() |
S |
80 |
1 |
3 |
isConfirmed() |
S |
80 |
1 |
3 |
appendToInternalComment() |
S |
66 |
1 |
7 |
getFormattedEndDate() |
S |
75 |
1 |
4 |
getFormattedEditLink() |
S |
77 |
1 |
3 |
getFormattedUserInfo() |
S |
73 |
1 |
5 |
getEmailSignature() |
S |
74 |
1 |
5 |
returnComment() |
S |
80 |
1 |
3 |
getiCal() |
S |
72 |
1 |
5 |
sendCancellationMail() |
S |
75 |
1 |
4 |
getAdjacentBookings() |
S |
72 |
1 |
5 |
getStartDate() |
S |
78 |
1 |
3 |
getEndDate() |
S |
78 |
1 |
3 |
isUserPrivileged() |
S |
76 |
1 |
4 |
isCancelled() |
S |
80 |
1 |
3 |
bookingLinkUrl() |
S |
78 |
1 |
3 |
getBookingCode() |
S |
79 |
1 |
3 |